package prettyprolog.datatypes;

public class JavaObject extends AbstractTerm {
	
	private static final long serialVersionUID = 1L;
	
	protected Object wrappedObject;
	
	public JavaObject(Object wrappedObject) {
		this.wrappedObject = wrappedObject;
	}
	
	public Object getWrappedObject() {
		return wrappedObject;
	}
	
	@Override
	public String toString() {
		return "#<Java object " + wrappedObject + ">";
	}

}
